package com.example.demoredisspringboot.dao;

import com.example.demoredisspringboot.pojo.TestEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <b><code>TestEntityDao</code></b>
 * <p>
 * Description
 * <p>
 * <b>Create Time:</b> 2023/3/31 9:25.
 *
 * @author qd.yt
 * @version 0.0.1
 * @since demo-redis-springboot v0.0.1
 */
@Repository
public interface TestEntityDao extends CrudRepository<TestEntity, String> {
    List<TestEntity> findByName(String name);
}
